package practice1.string;

public class Trim {
    public static void main(String[] args) {
        String str = "           bot next door"        ;
        System.out.println(str);



        String s = str.trim();
        System.out.println(s);
    }
}
